#include "udf_cfg.h"


#if ( ENABLE_UDF02 > 0 && !defined(UDP_SUB_PROJECT) && !defined(UDT_SUB_PROJECT) && (defined(UDF02_SUB_PROJECT) || defined(UDX_SUB_PROJECT)) )

#define APP_DEMO_ENABLE
#include "app.h"

#include "../udsf/udsf_uart.c"

#if DEMO_CFG == DEMO_CFG_APP_SECURE
#include "../Demo_APP_SECURE/udsf_demo_app_secure.c"
int udf02_udf_handle(uint8_t id,app_digest_t *p_app_digest,uint8_t *data,int *status){
	return udsf_demo_app_secure_udf02(id,p_app_digest,data,status);
}
#elif DEMO_CFG == DEMO_CFG_APP_TEST_STACK
#include "../Demo_APP_TEST_STACK/udsf_demo_app_test_stack.c"
int udf02_udf_handle(uint8_t id,app_digest_t *p_app_digest,uint8_t *data,int *status){
	return udsf_demo_app_test_stack_udf02(id,p_app_digest,data,status);
}
#else
#error "udf02 no demo"
#endif

#endif
